import App from './App'
import uView from "uview-ui";
import http from './api/http.js'

Vue.use(uView);

import Vuex from 'vuex'
import store from './store'

// #ifndef VUE3
import Vue from 'vue'

Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$http = http
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif